﻿//Write a boolean expression that checks for given integer if it can be divided (without remainder) by 7 and 5 in the same time.

using System;

class IfIntegerDividedBy5And7
{
    static void Main()
    {
        Console.Write("Input number to check it can be divided by 5 and 7: ");
        int integerToCheck = int.Parse(Console.ReadLine());
        if ((integerToCheck % 5 == 0) && (integerToCheck % 7 == 0))
            Console.WriteLine("The number {0} it can be divided by 7 and 5", integerToCheck);
        else
            Console.WriteLine("The number {0} it can't be divided by 7 and 5", integerToCheck);
    }
}
